import Request from '@/utils/request'

export function getsecurityRiskList(params){ //安风体系评级列表查询
  return new Request({
    url: 'sapi/securityRisk/selectList?dwmc=' + params.dwmc,
    method: 'get',
  })
}

export function getsecurityRiskupdate(params){ //修改
  return new Request({
    url: 'sapi/securityRisk/update',
    method: 'post',
    data:params
  })
}


export function selectLogList(params){ //历史记录
  return new Request({
    url: 'sapi/securityRisk/selectLogList?id=' + params.riskId + '&type=' + params.type,
    method: 'get',
  })
}

export function securityRiskDelete(params){ //历史记录
  return new Request({
    url: 'sapi/securityRisk/delete',
    method: 'post',
    data:params
  })
}




